#!/bin/bash
# test for
declare -i total=0
declare -i index=0
for ((index=1; index<=10; index++))
do
	#echo -n "${total}+${index}="
	total=$total+$index
	#echo $total
done
echo "total:${total}"
